public class Invoker {
    private Command command;

    public Invoker(){}

    public Invoker(Command command){
        this.command = command;

    }

    public String call(String message){
        return command.execute(message);
    }

    public Command getCommand() {
        return command;
    }

    public void setCommand(Command command) {
        this.command = command;
    }
}
